using System;

/// <summary>
/// Summary description for UserProfile
/// </summary>
/// 
namespace CE.HomeRefinance
{
    public class HFIncomePayment
    {
        public HFIncomePayment()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        private Int64 _hfincomepaymentid;
        private Int64 _hfpersonnelid;
        private Int64 _hfid;
        private bool _hfismainborrower;
        private bool _hfisfixed;
        private float _hffixedamount;
        private bool _hfisotherincome;
        private float _hfotheramount;
        private string _hfothersource;
        private bool _hfiscarloan;
        private float _hfclmonthlyamount;
        private string _hfclfinins;
        private float _hfclamount;
        private int _hfcloutperiod;
        private bool _hfishomeloan;
        private float _hfhlmonthlyamount;
        private string _hfhlfinins;
        private float _hfhlamount;
        private int _hfhloutperiod;
        private bool _hfisotherloan;
        private float _hfolmonthlyamount;
        private string _hfolfinins;
        private float _hfolamount;
        private int _hfoloutperiod;

        //common field name
        private Int64 _vieweddetailid;
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        //extra field for future extend
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;
        private string _info6;
        private string _info7;
        private string _info8;
        private string _info9;
        private string _info10;


        public Int64 HFIncomePaymentID
        {
            get { return _hfincomepaymentid; }
            set { _hfincomepaymentid = value; }
        }

        public Int64 HFPersonnelId
        {
            get { return _hfpersonnelid; }
            set { _hfpersonnelid = value; }
        }

        public Int64 HFID
        {
            get { return _hfid; }
            set { _hfid = value; }
        }

        public bool HFIsMainBorrower
        {
            get { return _hfismainborrower; }
            set { _hfismainborrower = value; }
        }

        public bool HFIsFixed
        {
            get { return _hfisfixed; }
            set { _hfisfixed = value; }
        }

        public float HFFixedAmount
        {
            get { return _hffixedamount; }
            set { _hffixedamount = value; }
        }

        public bool HFIsOtherIncome
        {
            get { return _hfisotherincome; }
            set { _hfisotherincome = value; }
        }

        public float HFOtherAmount
        {
            get { return _hfotheramount; }
            set { _hfotheramount = value; }
        }

        public string HFOtherSource
        {
            get { return _hfothersource; }
            set { _hfothersource = value; }
        }

        public bool HFIsCarLoan
        {
            get { return _hfiscarloan; }
            set { _hfiscarloan = value; }
        }

        public float HFCLMonthlyAmount
        {
            get { return _hfclmonthlyamount; }
            set { _hfclmonthlyamount = value; }
        }

        public string HFCLFinIns
        {
            get { return _hfclfinins; }
            set { _hfclfinins = value; }
        }

        public float HFCLAmount
        {
            get { return _hfclamount; }
            set { _hfclamount = value; }
        }

        public int HFCLOutPeriod
        {
            get { return _hfcloutperiod; }
            set { _hfcloutperiod = value; }
        }

        public bool HFIsHomeLoan
        {
            get { return _hfishomeloan; }
            set { _hfishomeloan = value; }
        }

        public float HFHLMonthlyAmount
        {
            get { return _hfhlmonthlyamount; }
            set { _hfhlmonthlyamount = value; }
        }

        public string HFHLFinIns
        {
            get { return _hfhlfinins; }
            set { _hfhlfinins = value; }
        }

        public float HFHLAmount
        {
            get { return _hfhlamount; }
            set { _hfhlamount = value; }
        }

        public int HFHLOutPeriod
        {
            get { return _hfhloutperiod; }
            set { _hfhloutperiod = value; }
        }

        public bool HFIsOtherLoan
        {
            get { return _hfisotherloan; }
            set { _hfisotherloan = value; }
        }

        public float HFOLMonthlyAmount
        {
            get { return _hfolmonthlyamount; }
            set { _hfolmonthlyamount = value; }
        }

        public string HFOLFinIns
        {
            get { return _hfolfinins; }
            set { _hfolfinins = value; }
        }

        public float HFOLAmount
        {
            get { return _hfolamount; }
            set { _hfolamount = value; }
        }

        public int HFOLOutPeriod
        {
            get { return _hfoloutperiod; }
            set { _hfoloutperiod = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public string Info6
        {
            get { return _info6; }
            set { _info6 = value; }
        }

        public string Info7
        {
            get { return _info7; }
            set { _info7 = value; }
        }

        public string Info8
        {
            get { return _info8; }
            set { _info8 = value; }
        }

        public string Info9
        {
            get { return _info9; }
            set { _info9 = value; }
        }

        public string Info10
        {
            get { return _info10; }
            set { _info10 = value; }
        }

        public void ClearFields()
        {
            _hfincomepaymentid = 0;
            _hfpersonnelid = 0;
            _hfid = 0;
            _hfismainborrower = false;
            _hfisfixed = false;
            _hffixedamount = 0.0f;
            _hfisotherincome = false;
            _hfotheramount = 0.0f;
            _hfothersource = "";
            _hfiscarloan = false;
            _hfclmonthlyamount = 0.0f;
            _hfclfinins = "";
            _hfclamount = 0.0f;
            _hfcloutperiod = 0;
            _hfishomeloan = false;
            _hfhlmonthlyamount = 0.0f;
            _hfhlfinins = "";
            _hfhlamount = 0.0f;
            _hfhloutperiod = 0;
            _hfisotherloan = false;
            _hfolmonthlyamount = 0.0f;
            _hfolfinins = "";
            _hfolamount = 0.0f;
            _hfoloutperiod = 0;
            //common field name
            _vieweddetailid = 0;
            _status = false;
            _createddate = new DateTime();
            _modifieddate = new DateTime();
            _createddate = CE.Global.General.GetUTCDateTime();
            _modifieddate = CE.Global.General.GetUTCDateTime();

            //extra field for future extend
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
            _info6 = "";
            _info7 = "";
            _info8 = "";
            _info9 = "";
            _info10 = "";
        }
    }
}
